package com.xbh.dms.service;

import com.jfinal.aop.Aop;
import com.jfinal.aop.AopManager;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;
import com.xbh.common.model.Student;

import java.util.List;

public interface StuService {

    String getOne(String stuId);

    List<Student> getAll();

    Page<Student> paginate(int pageNum, int pageSize, int stuId);

    boolean addOne(Student student);
    Record addOne0(Student student);

    boolean updateOne(Student student);

    boolean deleteById(Integer stuId);

    List<Long> queryInteger();

    List<Student> enjoyDemo(int para0, int para1);

    String beachTest(List<Student> list) throws Exception;

}
